<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>easynode.framework.mvc.CombinedAction - EasyNode API参考文档</title>
    <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
    <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
    <link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
    <link rel="icon" href="../assets/favicon.ico">
    <script src="http://yui.yahooapis.com/combo?3.9.1/build/yui/yui-min.js"></script>
</head>
<body class="yui3-skin-sam">

<div id="doc">
    <div id="hd" class="yui3-g header">
        <div class="yui3-u-3-4">
                <h1><img src="../assets/css/logo.png" title="EasyNode API参考文档" width="117" height="52"></h1>
        </div>
        <div class="yui3-u-1-4 version">
            <em>API Docs for: EasyNode - 0.1.0</em>
        </div>
    </div>
    <div id="bd" class="yui3-g">

        <div class="yui3-u-1-4">
            <div id="docs-sidebar" class="sidebar apidocs">
                <div id="api-list">
                    <h2 class="off-left">APIs</h2>
                    <div id="api-tabview" class="tabview">
                        <ul class="tabs">
                            <li><a href="#api-classes">Classes</a></li>
                            <li><a href="#api-modules">Modules</a></li>
                        </ul>
                
                        <div id="api-tabview-filter">
                            <input type="search" id="api-filter" placeholder="Type to filter APIs">
                        </div>
                
                        <div id="api-tabview-panel">
                            <ul id="api-classes" class="apis classes">
                                <li><a href="../classes/EasyNode.html">EasyNode</a></li>
                                <li><a href="../classes/easynode.framework.aop.AOP.html">easynode.framework.aop.AOP</a></li>
                                <li><a href="../classes/easynode.framework.BeanFactory.html">easynode.framework.BeanFactory</a></li>
                                <li><a href="../classes/easynode.framework.cache.CacheStat.html">easynode.framework.cache.CacheStat</a></li>
                                <li><a href="../classes/easynode.framework.cache.ICache.html">easynode.framework.cache.ICache</a></li>
                                <li><a href="../classes/easynode.framework.cache.Memcached.html">easynode.framework.cache.Memcached</a></li>
                                <li><a href="../classes/easynode.framework.cache.Redis.html">easynode.framework.cache.Redis</a></li>
                                <li><a href="../classes/easynode.framework.db.IConnection.html">easynode.framework.db.IConnection</a></li>
                                <li><a href="../classes/easynode.framework.db.IDataSource.html">easynode.framework.db.IDataSource</a></li>
                                <li><a href="../classes/easynode.framework.db.MysqlConnection.html">easynode.framework.db.MysqlConnection</a></li>
                                <li><a href="../classes/easynode.framework.db.MysqlDataSource.html">easynode.framework.db.MysqlDataSource</a></li>
                                <li><a href="../classes/easynode.framework.Logger.html">easynode.framework.Logger</a></li>
                                <li><a href="../classes/easynode.framework.mq.IQueue.html">easynode.framework.mq.IQueue</a></li>
                                <li><a href="../classes/easynode.framework.mq.RedisListQueue.html">easynode.framework.mq.RedisListQueue</a></li>
                                <li><a href="../classes/easynode.framework.mq.RedisQueue.html">easynode.framework.mq.RedisQueue</a></li>
                                <li><a href="../classes/easynode.framework.mvc.Action.html">easynode.framework.mvc.Action</a></li>
                                <li><a href="../classes/easynode.framework.mvc.ActionArgConverter.html">easynode.framework.mvc.ActionArgConverter</a></li>
                                <li><a href="../classes/easynode.framework.mvc.ActionContext.html">easynode.framework.mvc.ActionContext</a></li>
                                <li><a href="../classes/easynode.framework.mvc.ActionExecutor.html">easynode.framework.mvc.ActionExecutor</a></li>
                                <li><a href="../classes/easynode.framework.mvc.ActionFactory.html">easynode.framework.mvc.ActionFactory</a></li>
                                <li><a href="../classes/easynode.framework.mvc.ActionRequestParameter.html">easynode.framework.mvc.ActionRequestParameter</a></li>
                                <li><a href="../classes/easynode.framework.mvc.ActionResult.html">easynode.framework.mvc.ActionResult</a></li>
                                <li><a href="../classes/easynode.framework.mvc.CombinedAction.html">easynode.framework.mvc.CombinedAction</a></li>
                                <li><a href="../classes/easynode.framework.mvc.EJSTemplateViewRenderer.html">easynode.framework.mvc.EJSTemplateViewRenderer</a></li>
                                <li><a href="../classes/easynode.framework.mvc.IActionContextListener.html">easynode.framework.mvc.IActionContextListener</a></li>
                                <li><a href="../classes/easynode.framework.mvc.ITemplateViewRenderer.html">easynode.framework.mvc.ITemplateViewRenderer</a></li>
                                <li><a href="../classes/easynode.framework.mvc.JadeTemplateViewRenderer.html">easynode.framework.mvc.JadeTemplateViewRenderer</a></li>
                                <li><a href="../classes/easynode.framework.mvc.JSONView.html">easynode.framework.mvc.JSONView</a></li>
                                <li><a href="../classes/easynode.framework.mvc.MethodDispatchedAction.html">easynode.framework.mvc.MethodDispatchedAction</a></li>
                                <li><a href="../classes/easynode.framework.mvc.Model.html">easynode.framework.mvc.Model</a></li>
                                <li><a href="../classes/easynode.framework.mvc.ModelField.html">easynode.framework.mvc.ModelField</a></li>
                                <li><a href="../classes/easynode.framework.mvc.ModelProxyActionFactory.html">easynode.framework.mvc.ModelProxyActionFactory</a></li>
                                <li><a href="../classes/easynode.framework.mvc.MustacheTemplateViewRenderer.html">easynode.framework.mvc.MustacheTemplateViewRenderer</a></li>
                                <li><a href="../classes/easynode.framework.mvc.spi.MysqlModelGenerator.html">easynode.framework.mvc.spi.MysqlModelGenerator</a></li>
                                <li><a href="../classes/easynode.framework.mvc.View.html">easynode.framework.mvc.View</a></li>
                                <li><a href="../classes/easynode.framework.plugin.EasyNodePlugin.html">easynode.framework.plugin.EasyNodePlugin</a></li>
                                <li><a href="../classes/easynode.framework.plugin.PluginLoadContext.html">easynode.framework.plugin.PluginLoadContext</a></li>
                                <li><a href="../classes/easynode.framework.queue.MQTTQueue.html">easynode.framework.queue.MQTTQueue</a></li>
                                <li><a href="../classes/easynode.framework.server.AbstractServer.html">easynode.framework.server.AbstractServer</a></li>
                                <li><a href="../classes/easynode.framework.server.http.KOAActionContext.html">easynode.framework.server.http.KOAActionContext</a></li>
                                <li><a href="../classes/easynode.framework.server.http.KOADefaultRoutes.html">easynode.framework.server.http.KOADefaultRoutes</a></li>
                                <li><a href="../classes/easynode.framework.server.http.KOAHttpRequestParameter.html">easynode.framework.server.http.KOAHttpRequestParameter</a></li>
                                <li><a href="../classes/easynode.framework.server.http.KOAHttpServer.html">easynode.framework.server.http.KOAHttpServer</a></li>
                                <li><a href="../classes/easynode.framework.server.http.KOAHttpServer.SessionSupport.html">easynode.framework.server.http.KOAHttpServer.SessionSupport</a></li>
                                <li><a href="../classes/easynode.framework.server.KOAMemorySessionStorage.html">easynode.framework.server.KOAMemorySessionStorage</a></li>
                                <li><a href="../classes/easynode.framework.server.ServerStat.html">easynode.framework.server.ServerStat</a></li>
                                <li><a href="../classes/easynode.framework.server.tcp.Decoder.html">easynode.framework.server.tcp.Decoder</a></li>
                                <li><a href="../classes/easynode.framework.server.tcp.Encoder.html">easynode.framework.server.tcp.Encoder</a></li>
                                <li><a href="../classes/easynode.framework.server.tcp.Message.html">easynode.framework.server.tcp.Message</a></li>
                                <li><a href="../classes/easynode.framework.server.tcp.MessageHandler.html">easynode.framework.server.tcp.MessageHandler</a></li>
                                <li><a href="../classes/easynode.framework.server.tcp.protocols.JSONDecoder.html">easynode.framework.server.tcp.protocols.JSONDecoder</a></li>
                                <li><a href="../classes/easynode.framework.server.tcp.protocols.JSONEncoder.html">easynode.framework.server.tcp.protocols.JSONEncoder</a></li>
                                <li><a href="../classes/easynode.framework.server.tcp.protocols.JSONMessageHandler.html">easynode.framework.server.tcp.protocols.JSONMessageHandler</a></li>
                                <li><a href="../classes/easynode.framework.server.tcp.StreamDecoderHelper.html">easynode.framework.server.tcp.StreamDecoderHelper</a></li>
                                <li><a href="../classes/easynode.framework.server.tcp.StreamEncoderHelper.html">easynode.framework.server.tcp.StreamEncoderHelper</a></li>
                                <li><a href="../classes/easynode.framework.server.tcp.TCPClient.html">easynode.framework.server.tcp.TCPClient</a></li>
                                <li><a href="../classes/easynode.framework.server.tcp.TCPServer.html">easynode.framework.server.tcp.TCPServer</a></li>
                                <li><a href="../classes/easynode.framework.test.TestCase.html">easynode.framework.test.TestCase</a></li>
                                <li><a href="../classes/easynode.framework.test.TestCaseRunner.html">easynode.framework.test.TestCaseRunner</a></li>
                                <li><a href="../classes/easynode.framework.util..StringUtil.html">easynode.framework.util..StringUtil</a></li>
                                <li><a href="../classes/easynode.framework.util.Binary.html">easynode.framework.util.Binary</a></li>
                                <li><a href="../classes/easynode.framework.util.HTTPUtil.html">easynode.framework.util.HTTPUtil</a></li>
                                <li><a href="../classes/easynode.framework.util.MustacheHelper.html">easynode.framework.util.MustacheHelper</a></li>
                                <li><a href="../classes/easynode.framework.util.ObjectWrapper.html">easynode.framework.util.ObjectWrapper</a></li>
                                <li><a href="../classes/easynode.framework.util.SqlUtil.html">easynode.framework.util.SqlUtil</a></li>
                                <li><a href="../classes/easynode.framework.util.VersionComparator.html">easynode.framework.util.VersionComparator</a></li>
                                <li><a href="../classes/easynode.framework.view.TemplateView.html">easynode.framework.view.TemplateView</a></li>
                                <li><a href="../classes/easynode.GenericObject.html">easynode.GenericObject</a></li>
                                <li><a href="../classes/全局函数.html">全局函数</a></li>
                            </ul>
                
                            <ul id="api-modules" class="apis modules">
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="yui3-u-3-4">
                <div id="api-options">
                    Show:
                    <label for="api-show-inherited">
                        <input type="checkbox" id="api-show-inherited" checked>
                        Inherited
                    </label>
            
                    <label for="api-show-protected">
                        <input type="checkbox" id="api-show-protected">
                        Protected
                    </label>
            
                    <label for="api-show-private">
                        <input type="checkbox" id="api-show-private">
                        Private
                    </label>
                    <label for="api-show-deprecated">
                        <input type="checkbox" id="api-show-deprecated">
                        Deprecated
                    </label>
            
                </div>
            
            <div class="apidocs">
                <div id="docs-main">
                    <div class="content">
<h1>easynode.framework.mvc.CombinedAction Class</h1>
<div class="box meta">

        <div class="extends">
            Extends <a href="../classes/easynode.framework.mvc.Action.html" class="crosslink">easynode.framework.mvc.Action</a>
        </div>

        <div class="foundat">
            Defined in: <a href="../files/.._src_easynode_framework_mvc_CombinedAction.js.html#l8"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;CombinedAction.js:8</code></a>
        </div>


        <p>Available since 0.1.0</p>
</div>


<div class="box intro">
    <p>Class CombinedAction，注意CombinedAction始终返回成功的ActionResult。</p>

</div>


<div id="classdocs" class="tabview">
    <ul class="api-class-tabs">
        <li class="api-class-tab index"><a href="#index">Index</a></li>

            <li class="api-class-tab methods"><a href="#methods">Methods</a></li>
            <li class="api-class-tab properties"><a href="#properties">Properties</a></li>
    </ul>

    <div>
        <div id="index" class="api-class-tabpanel index">
            <h2 class="off-left">Item Index</h2>

                <div class="index-section methods">
                    <h3>Methods</h3>

                    <ul class="index-list methods extends">
                            <li class="index-item method inherited">
                                <a href="#method_addArg">addArg</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_combine">combine</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_getActionName">getActionName</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_getArgs">getArgs</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_getClassName">getClassName</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_getContext">getContext</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_getFullName">getFullName</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_getModule">getModule</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_getView">getView</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_getViewOptions">getViewOptions</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_hasArg">hasArg</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_is">is</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_noop">noop</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_off">off</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_process">process</a>

                            </li>
                            <li class="index-item method private inherited">
                                <a href="#method_setActionName">setActionName</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_setContext">setContext</a>

                            </li>
                            <li class="index-item method private inherited">
                                <a href="#method_setModule">setModule</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_setProcessListener">setProcessListener</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_setView">setView</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_throwErrorResult">throwErrorResult</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_toJSON">toJSON</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_toJSONString">toJSONString</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_toString">toString</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_trigger">trigger</a>

                            </li>
                            <li class="index-item method inherited inherited">
                                <a href="#method_validate">validate</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_构造函数">构造函数</a>

                            </li>
                    </ul>
                </div>

                <div class="index-section properties">
                    <h3>Properties</h3>

                    <ul class="index-list properties extends">
                            <li class="index-item property protected inherited">
                                <a href="#property_args">args</a>

                            </li>
                            <li class="index-item property protected inherited">
                                <a href="#property_ctx">ctx</a>

                            </li>
                            <li class="index-item property protected inherited">
                                <a href="#property_view">view</a>

                            </li>
                            <li class="index-item property protected inherited">
                                <a href="#property_viewOptions">viewOptions</a>

                            </li>
                    </ul>
                </div>


        </div>

            <div id="methods" class="api-class-tabpanel">
                <h2 class="off-left">Methods</h2>

<div id="method_addArg" class="method item inherited">
    <h3 class="name"><code>addArg</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>o</code>
                </li>
            </ul><span class="paren">)</span>
        </div>

        <span class="returns-inline">
            <span class="type">Action</span>
        </span>







    <div class="meta">
                <p>Inherited from
                <a href="../classes/easynode.framework.mvc.Action.html#method_addArg">easynode.framework.mvc.Action</a>:
        <a href="../files/.._src_easynode_framework_mvc_Action.js.html#l237"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;Action.js:237</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        <p>增加一个或多个参数。可链式调用。</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">o</code>
                        <span class="type">...</span>


                    <div class="param-description">
                        <p>接受多参，string或JSON对象，对象Notation:
{
name : '',
type : '',
comment : ''
}
type表示实际值类型，默认'string'。
当元素为string型时，接受$name $type $comment格式的简化定义方式，用空格分开名称、类型和备注</p>

                    </div>

                </li>
            </ul>
        </div>

        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type">Action</span>:
                    <p>返回this, 可链式调用。</p>

            </div>
        </div>


        <div class="example">
            <h4>Example:</h4>

            <div class="example-content">
                <pre class="code prettyprint"><code> this.addArg('field1', 'field2');                                                //field1 with type string
 this.addArg({name : 'field1', type : 'int'});                           //field1 with type int
 // 支持的类型有：
 string，字符串类型，默认
 int，     整数型
 float(x)，浮点数型，保留x位小数
 array，   数组，每个元素使用&quot;,&quot;(逗号)分隔
 date,       日期型
 datetime,       日期时间型，精确到分钟
 datetimeS,     日期时间型，精确到秒
 json,       JSON对象</code></pre>

            </div>
        </div>
</div>
<div id="method_combine" class="method item">
    <h3 class="name"><code>combine</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>m</code>
                </li>
                <li class="arg">
                        <code>a</code>
                </li>
                <li class="arg">
                        <code>name</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/.._src_easynode_framework_mvc_CombinedAction.js.html#l33"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;CombinedAction.js:33</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        <p>增加一个组合Action调用。</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">m</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                        <p>模块名</p>

                    </div>

                </li>
                <li class="param">
                        <code class="param-name">a</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                        <p>Action名</p>

                    </div>

                </li>
                <li class="param">
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                        <p>调用$module.$action后返回的ActionResult的值，默认为$module.$action</p>

                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_getActionName" class="method item inherited">
    <h3 class="name"><code>getActionName</code></h3>

        <span class="paren">()</span>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>







    <div class="meta">
                <p>Inherited from
                <a href="../classes/easynode.framework.mvc.Action.html#method_getActionName">easynode.framework.mvc.Action</a>:
        <a href="../files/.._src_easynode_framework_mvc_Action.js.html#l213"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;Action.js:213</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        <p>获取Action名。</p>

    </div>


        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    <p>Action名</p>

            </div>
        </div>


</div>
<div id="method_getArgs" class="method item inherited">
    <h3 class="name"><code>getArgs</code></h3>

        <span class="paren">()</span>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
        </span>







    <div class="meta">
                <p>Inherited from
                <a href="../classes/easynode.framework.mvc.Action.html#method_getArgs">easynode.framework.mvc.Action</a>:
        <a href="../files/.._src_easynode_framework_mvc_Action.js.html#l225"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;Action.js:225</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        <p>获取Action参数列表。</p>

    </div>


        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>:
                    <p>Action参数列表，参考args(protected)属性。</p>

            </div>
        </div>


</div>
<div id="method_getClassName" class="method item inherited">
    <h3 class="name"><code>getClassName</code></h3>

        <span class="paren">()</span>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>







    <div class="meta">
                <p>Inherited from
                <a href="../classes/easynode.GenericObject.html#method_getClassName">easynode.GenericObject</a>:
        <a href="../files/.._src_easynode_GenericObject.js.html#l82"><code>..&#x2F;src&#x2F;easynode&#x2F;GenericObject.js:82</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        获取对象的全类名
    </div>


        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    对象的字符串描述
            </div>
        </div>


</div>
<div id="method_getContext" class="method item inherited">
    <h3 class="name"><code>getContext</code></h3>

        <span class="paren">()</span>

        <span class="returns-inline">
            <span class="type"><a href="../classes/easynode.framework.mvc.ActionContext.html" class="crosslink">easynode.framework.mvc.ActionContext</a></span>
        </span>







    <div class="meta">
                <p>Inherited from
                <a href="../classes/easynode.framework.mvc.Action.html#method_getContext">easynode.framework.mvc.Action</a>:
        <a href="../files/.._src_easynode_framework_mvc_Action.js.html#l161"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;Action.js:161</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        <p>获取Action的执行上下文环境。</p>

    </div>


        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="../classes/easynode.framework.mvc.ActionContext.html" class="crosslink">easynode.framework.mvc.ActionContext</a></span>:
                    <p>Action执行上下文环境</p>

            </div>
        </div>


</div>
<div id="method_getFullName" class="method item inherited">
    <h3 class="name"><code>getFullName</code></h3>

        <span class="paren">()</span>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>







    <div class="meta">
                <p>Inherited from
                <a href="../classes/easynode.framework.mvc.Action.html#method_getFullName">easynode.framework.mvc.Action</a>:
        <a href="../files/.._src_easynode_framework_mvc_Action.js.html#l137"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;Action.js:137</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        <p>获取Action全名。</p>

    </div>


        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    <p>Action全名，$module.$action</p>

            </div>
        </div>


</div>
<div id="method_getModule" class="method item inherited">
    <h3 class="name"><code>getModule</code></h3>

        <span class="paren">()</span>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>







    <div class="meta">
                <p>Inherited from
                <a href="../classes/easynode.framework.mvc.Action.html#method_getModule">easynode.framework.mvc.Action</a>:
        <a href="../files/.._src_easynode_framework_mvc_Action.js.html#l187"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;Action.js:187</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        <p>获取Action的模块名。</p>

    </div>


        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    <p>Action模块名</p>

            </div>
        </div>


</div>
<div id="method_getView" class="method item inherited">
    <h3 class="name"><code>getView</code></h3>

        <span class="paren">()</span>

        <span class="returns-inline">
            <span class="type"><a href="../classes/easynode.framework.mvc.View.html" class="crosslink">easynode.framework.mvc.View</a></span>
        </span>







    <div class="meta">
                <p>Inherited from
                <a href="../classes/easynode.framework.mvc.Action.html#method_getView">easynode.framework.mvc.Action</a>:
        <a href="../files/.._src_easynode_framework_mvc_Action.js.html#l113"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;Action.js:113</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        <p>获得视图。</p>

    </div>


        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="../classes/easynode.framework.mvc.View.html" class="crosslink">easynode.framework.mvc.View</a></span>:
                    <p>当前Action的视图</p>

            </div>
        </div>


</div>
<div id="method_getViewOptions" class="method item inherited">
    <h3 class="name"><code>getViewOptions</code></h3>

        <span class="paren">()</span>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>







    <div class="meta">
                <p>Inherited from
                <a href="../classes/easynode.framework.mvc.Action.html#method_getViewOptions">easynode.framework.mvc.Action</a>:
        <a href="../files/.._src_easynode_framework_mvc_Action.js.html#l125"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;Action.js:125</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        <p>获得视图渲染参数。</p>

    </div>


        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    <p>opts 视图渲染参数</p>

            </div>
        </div>


</div>
<div id="method_hasArg" class="method item inherited">
    <h3 class="name"><code>hasArg</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>name</code>
                </li>
            </ul><span class="paren">)</span>
        </div>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
        </span>







    <div class="meta">
                <p>Inherited from
                <a href="../classes/easynode.framework.mvc.Action.html#method_hasArg">easynode.framework.mvc.Action</a>:
        <a href="../files/.._src_easynode_framework_mvc_Action.js.html#l294"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;Action.js:294</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        <p>是否定义了名为name的参数。</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                        <p>参数名</p>

                    </div>

                </li>
            </ul>
        </div>

        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
                    <p>是否包含名为name的参数。</p>

            </div>
        </div>


</div>
<div id="method_is" class="method item inherited">
    <h3 class="name"><code>is</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>namespace</code>
                </li>
            </ul><span class="paren">)</span>
        </div>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
        </span>







    <div class="meta">
                <p>Inherited from
                <a href="../classes/easynode.GenericObject.html#method_is">easynode.GenericObject</a>:
        <a href="../files/.._src_easynode_GenericObject.js.html#l133"><code>..&#x2F;src&#x2F;easynode&#x2F;GenericObject.js:133</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        判定对象是否属于某个类型
    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">namespace</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                        全类名
                    </div>

                </li>
            </ul>
        </div>

        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
                    对象是否为某个类的实例
            </div>
        </div>


        <div class="example">
            <h4>Example:</h4>

            <div class="example-content">
                <p>var ExpressServer = using('easynode.framework.server.http.ExpressServer');
new ExpressServer(3010).is('easynode.framework.server.http.ExpressServer');  <a href="//true">//true</a></p>

            </div>
        </div>
</div>
<div id="method_noop" class="method item inherited">
    <h3 class="name"><code>noop</code></h3>

        <span class="paren">()</span>

        <span class="returns-inline">
            <span class="type"></span>
        </span>







    <div class="meta">
                <p>Inherited from
                <a href="../classes/easynode.GenericObject.html#method_noop">easynode.GenericObject</a>:
        <a href="../files/.._src_easynode_GenericObject.js.html#l149"><code>..&#x2F;src&#x2F;easynode&#x2F;GenericObject.js:149</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        无操作函数。可链式调用。
    </div>


        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                    this
            </div>
        </div>


        <div class="example">
            <h4>Example:</h4>

            <div class="example-content">
                <p>var ExpressServer = using('easynode.framework.server.http.ExpressServer');
new ExpressServer(3010).is('easynode.framework.server.http.ExpressServer');  <a href="//true">//true</a></p>

            </div>
        </div>
</div>
<div id="method_off" class="method item inherited">
    <h3 class="name"><code>off</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>event</code>
                </li>
                <li class="arg">
                        <code>listener</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>Inherited from
                <a href="../classes/easynode.GenericObject.html#method_off">easynode.GenericObject</a>:
        <a href="../files/.._src_easynode_GenericObject.js.html#l56"><code>..&#x2F;src&#x2F;easynode&#x2F;GenericObject.js:56</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        removeListener函数的别名。参考：Node.js events.EventEmitter.removeListener()函数。
    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">event</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                        事件名称
                    </div>

                </li>
                <li class="param">
                        <code class="param-name">listener</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>


                    <div class="param-description">
                        事件监听器
                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_process" class="method item">
    <h3 class="name"><code>process</code></h3>

        <span class="paren">()</span>








    <div class="meta">
            <p>Inherited from
            <a href="../classes/easynode.framework.mvc.Action.html#method_process">
                easynode.framework.mvc.Action
            </a>
            but overwritten in
        <a href="../files/.._src_easynode_framework_mvc_CombinedAction.js.html#l74"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;CombinedAction.js:74</code></a>
        </p>



    </div>

    <div class="description">
        <p>组合的Action　process实现函数，按组合顺序执行Action，与一般的执行不同，组合执行时，会在process函数调用时
压入前面action执行结果，如果各个Action之前没有关联关系，可忽略该参数。</p>

    </div>




</div>
<div id="method_setActionName" class="method item private inherited">
    <h3 class="name"><code>setActionName</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>a</code>
                </li>
            </ul><span class="paren">)</span>
        </div>



        <span class="flag private">private</span>





    <div class="meta">
                <p>Inherited from
                <a href="../classes/easynode.framework.mvc.Action.html#method_setActionName">easynode.framework.mvc.Action</a>:
        <a href="../files/.._src_easynode_framework_mvc_Action.js.html#l199"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;Action.js:199</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        <p>设置Action名，框架内使用，请不要在任何地方调用此函数。</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">a</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                        <p>Action名</p>

                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_setContext" class="method item inherited">
    <h3 class="name"><code>setContext</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>ctx</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>Inherited from
                <a href="../classes/easynode.framework.mvc.Action.html#method_setContext">easynode.framework.mvc.Action</a>:
        <a href="../files/.._src_easynode_framework_mvc_Action.js.html#l149"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;Action.js:149</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        <p>设置Action的执行上下文环境。</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">ctx</code>
                        <span class="type"><a href="../classes/easynode.framework.mvc.ActionContext.html" class="crosslink">easynode.framework.mvc.ActionContext</a></span>


                    <div class="param-description">
                        <p>Action执行上下文环境</p>

                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_setModule" class="method item private inherited">
    <h3 class="name"><code>setModule</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>m</code>
                </li>
            </ul><span class="paren">)</span>
        </div>



        <span class="flag private">private</span>





    <div class="meta">
                <p>Inherited from
                <a href="../classes/easynode.framework.mvc.Action.html#method_setModule">easynode.framework.mvc.Action</a>:
        <a href="../files/.._src_easynode_framework_mvc_Action.js.html#l173"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;Action.js:173</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        <p>设置模块名，框架内使用，请不要在任何地方调用此函数。</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">m</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                        <p>模块名</p>

                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_setProcessListener" class="method item">
    <h3 class="name"><code>setProcessListener</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>when</code>
                </li>
                <li class="arg">
                        <code>name</code>
                </li>
                <li class="arg">
                        <code>fn</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/.._src_easynode_framework_mvc_CombinedAction.js.html#l54"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;CombinedAction.js:54</code></a>
        </p>



    </div>

    <div class="description">
        <p>设置Action处理监听器。支持在任何Action执行前后插入处理函数，这些函数是异步函数，它会在处理流程中被顺序
执行。</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">when</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                        <p>&quot;before&quot;/&quot;after&quot;，分别表示Action处理前和Action处理后</p>

                    </div>

                </li>
                <li class="param">
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                        <p>组合的Action名称，&quot;*&quot;表示所有的Action，同combine函数的name参数。</p>

                    </div>

                </li>
                <li class="param">
                        <code class="param-name">fn</code>
                        <span class="type">Generator</span>


                    <div class="param-description">
                        <p>异步函数，应传递generator的高阶函数，此函数被绑定到CombinedAction实例执行
函数签名：before-* : function(ctx) {}                ctx, ActionContext实例
after-* : function(ctx, results) {}     ctx, ActionContext实例，results : CombinedAction的处理结果。
当此函数返回ActionResult实例时，CombinedAction的ActionResult将被设置为此ActionResult
before-$action : function(ctx, $args, $ results) {}  ctx, ActionContext实例，$args: Action参数, results : CombinedAction的处理结果
after-$action : function(ctx, $args, $ results) {}  ctx, ActionContext实例，$args: Action参数, results : CombinedAction的处理结果</p>

                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_setView" class="method item inherited">
    <h3 class="name"><code>setView</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>view</code>
                </li>
                <li class="arg">
                        <code>opts</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>Inherited from
                <a href="../classes/easynode.framework.mvc.Action.html#method_setView">easynode.framework.mvc.Action</a>:
        <a href="../files/.._src_easynode_framework_mvc_Action.js.html#l98"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;Action.js:98</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        <p>设置视图。</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">view</code>
                        <span class="type"><a href="../classes/easynode.framework.mvc.View.html" class="crosslink">easynode.framework.mvc.View</a></span>


                    <div class="param-description">
                        <p>视图</p>

                    </div>

                </li>
                <li class="param">
                        <code class="param-name">opts</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>


                    <div class="param-description">
                        <p>视图渲染参数</p>

                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_throwErrorResult" class="method item inherited">
    <h3 class="name"><code>throwErrorResult</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>actionResult</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>Inherited from
                <a href="../classes/easynode.framework.mvc.Action.html#method_throwErrorResult">easynode.framework.mvc.Action</a>:
        <a href="../files/.._src_easynode_framework_mvc_Action.js.html#l368"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;Action.js:368</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        <p>中断Action的执行，并且抛出异常结果，通常使用在process函数中需要直接返回错误结果的情况。在执行Action时，如果
捕获到的异常是ActionResult实例，则应直接将此ActionResult渲染后返回给客户端。</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">actionResult</code>
                        <span class="type"><a href="../classes/easynode.framework.mvc.ActionResult.html" class="crosslink">easynode.framework.mvc.ActionResult</a></span>


                    <div class="param-description">
                        <p>ActionResult实例</p>

                    </div>

                </li>
            </ul>
        </div>


        <div class="throws">
            <h4>Throws:</h4>

            <div class="throws-description">
                    <p>Error 总是会抛出一个异常。该异常具有一个executeResult属性，传递ActionResult结果。</p>

            </div>
        </div>

</div>
<div id="method_toJSON" class="method item inherited">
    <h3 class="name"><code>toJSON</code></h3>

        <span class="paren">()</span>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>







    <div class="meta">
                <p>Inherited from
                <a href="../classes/easynode.GenericObject.html#method_toJSON">easynode.GenericObject</a>:
        <a href="../files/.._src_easynode_GenericObject.js.html#l105"><code>..&#x2F;src&#x2F;easynode&#x2F;GenericObject.js:105</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        返回对象的JSON对象，即：Notation
    </div>


        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    对象的Notation
            </div>
        </div>


</div>
<div id="method_toJSONString" class="method item inherited">
    <h3 class="name"><code>toJSONString</code></h3>

        <span class="paren">()</span>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>







    <div class="meta">
                <p>Inherited from
                <a href="../classes/easynode.GenericObject.html#method_toJSONString">easynode.GenericObject</a>:
        <a href="../files/.._src_easynode_GenericObject.js.html#l93"><code>..&#x2F;src&#x2F;easynode&#x2F;GenericObject.js:93</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        返回对象的JSON String表达式
    </div>


        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    对象的JSON字符串描述
            </div>
        </div>


</div>
<div id="method_toString" class="method item inherited">
    <h3 class="name"><code>toString</code></h3>

        <span class="paren">()</span>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>







    <div class="meta">
                <p>Inherited from
                <a href="../classes/easynode.GenericObject.html#method_toString">easynode.GenericObject</a>:
        <a href="../files/.._src_easynode_GenericObject.js.html#l70"><code>..&#x2F;src&#x2F;easynode&#x2F;GenericObject.js:70</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        获取对象的字符串描述
    </div>


        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    对象的字符串描述
            </div>
        </div>


</div>
<div id="method_trigger" class="method item inherited">
    <h3 class="name"><code>trigger</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>event</code>
                </li>
                <li class="arg">
                        <code>args</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>Inherited from
                <a href="../classes/easynode.GenericObject.html#method_trigger">easynode.GenericObject</a>:
        <a href="../files/.._src_easynode_GenericObject.js.html#l43"><code>..&#x2F;src&#x2F;easynode&#x2F;GenericObject.js:43</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        emit函数的别名。参考：Node.js events.EventEmitter.emit()函数。
    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">event</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                        事件名称
                    </div>

                </li>
                <li class="param">
                        <code class="param-name">args</code>
                        <span class="type">...</span>


                    <div class="param-description">
                        事件参数
                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_validate" class="method item inherited">
    <h3 class="name"><code>validate</code></h3>

        <span class="paren">()</span>

        <span class="returns-inline">
            <span class="type">Object/boolean</span>
        </span>






        <span class="flag async">async</span>

    <div class="meta">
            <p>Inherited from
            <a href="../classes/easynode.framework.mvc.Action.html#method_validate">
                easynode.framework.mvc.Action
            </a>
            but overwritten in
        <a href="../files/.._src_easynode_framework_mvc_Action.js.html#l312"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;Action.js:312</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        <p>验证Action的调用上下文环境，通常用于验证上下文环境中的输入参数。</p>

    </div>


        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type">Object/boolean</span>:
                    <p>返回boolean时，true表示验证参数成功，false表示验证失败。返回对象的示例：
{
result : true/false,            <a href="//xn--boolean-2k7k86zrkh569o">//同boolean返回值</a>
msg : '错误消息',               <a href="//xn--ybu940adxxdei">//错误消息</a>，返回到前端
}</p>

            </div>
        </div>


</div>
<div id="method_构造函数" class="method item">
    <h3 class="name"><code>构造函数</code></h3>

        <span class="paren">()</span>








    <div class="meta">
            <p>Inherited from
            <a href="../classes/easynode.GenericObject.html#method_构造函数">
                easynode.GenericObject
            </a>
            but overwritten in
        <a href="../files/.._src_easynode_framework_mvc_CombinedAction.js.html#l18"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;CombinedAction.js:18</code></a>
        </p>



            <p>Available since 0.1.0</p>
    </div>

    <div class="description">
        <p>构造函数。</p>

    </div>




</div>
            </div>

            <div id="properties" class="api-class-tabpanel">
                <h2 class="off-left">Properties</h2>

                    <div id="property_args" class="property item protected inherited">
                        <h3 class="name"><code>args</code></h3>
                        <span class="type">Array  Element Notation :
                                                 
                                                          name : '参数名'
                                                          type : '参数类型'
                                                          comment : '参数注释'</span>
                    
                    
                            <span class="flag protected">protected</span>
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/easynode.framework.mvc.Action.html#property_args">easynode.framework.mvc.Action</a>:
                            <a href="../files/.._src_easynode_framework_mvc_Action.js.html#l58"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;Action.js:58</code></a>
                            </p>
                    
                    
                                <p>Available since 0.1.0</p>
                        </div>
                    
                        <div class="description">
                            <p>Action参数</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="property_ctx" class="property item protected inherited">
                        <h3 class="name"><code>ctx</code></h3>
                        <span class="type"><a href="../classes/easynode.framework.mvc.ActionContext.html" class="crosslink">easynode.framework.mvc.ActionContext</a></span>
                    
                    
                            <span class="flag protected">protected</span>
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/easynode.framework.mvc.Action.html#property_ctx">easynode.framework.mvc.Action</a>:
                            <a href="../files/.._src_easynode_framework_mvc_Action.js.html#l47"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;Action.js:47</code></a>
                            </p>
                    
                    
                                <p>Available since 0.1.0</p>
                        </div>
                    
                        <div class="description">
                            <p>easynode.framework.mvc.ActionContext实例</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="property_view" class="property item protected inherited">
                        <h3 class="name"><code>view</code></h3>
                        <span class="type"><a href="../classes/easynode.framework.mvc.View.html" class="crosslink">easynode.framework.mvc.View</a></span>
                    
                    
                            <span class="flag protected">protected</span>
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/easynode.framework.mvc.Action.html#property_view">easynode.framework.mvc.Action</a>:
                            <a href="../files/.._src_easynode_framework_mvc_Action.js.html#l74"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;Action.js:74</code></a>
                            </p>
                    
                    
                                <p>Available since 0.1.0</p>
                        </div>
                    
                        <div class="description">
                            <p>视图</p>
                    
                        </div>
                    
                            <p><strong>Default:</strong> new easynode.framework.mvc.JSONView</p>
                    
                    
                    </div>
                    <div id="property_viewOptions" class="property item protected inherited">
                        <h3 class="name"><code>viewOptions</code></h3>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    
                    
                            <span class="flag protected">protected</span>
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/easynode.framework.mvc.Action.html#property_viewOptions">easynode.framework.mvc.Action</a>:
                            <a href="../files/.._src_easynode_framework_mvc_Action.js.html#l85"><code>..&#x2F;src&#x2F;easynode&#x2F;framework&#x2F;mvc&#x2F;Action.js:85</code></a>
                            </p>
                    
                    
                                <p>Available since 0.1.0</p>
                        </div>
                    
                        <div class="description">
                            <p>视图渲染参数</p>
                    
                        </div>
                    
                            <p><strong>Default:</strong> {}</p>
                    
                    
                    </div>
            </div>


    </div>
</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="../assets/vendor/prettify/prettify-min.js"></script>
<script>prettyPrint();</script>
<script src="../assets/js/yui-prettify.js"></script>
<script src="../assets/../api.js"></script>
<script src="../assets/js/api-filter.js"></script>
<script src="../assets/js/api-list.js"></script>
<script src="../assets/js/api-search.js"></script>
<script src="../assets/js/apidocs.js"></script>
</body>
</html>
